#include "getdata.h"
#include <stdio.h>
#define DRINK 100 //TDS of drinkable water,unit ppm
#define USE 300 //TDS of useable water, unit ppm
#define MOUTAINWATER 60 //TDS of mountain water

int main()
{
    if (getTDS <MOUTAINWATER)
    {
        printf("\n纯净水\n");
    }
    else if(getTDS >MOUTAINWATER && getTDS < DRINK)
    {
        printf("\n可引用\n");
    }
    else if(getTDS > DRINK && getTDS < USE)
    {
        printf("\n生活用水\n");
    }
    
    
}

